<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
		<script>
			var arr = [1,5,2,7,4];
			var arr1 = [['昌平','朝阳','海淀'],['浦东','浦西','松江','徐家汇'],['三亚湾','凤凰']];
			
//			var arr2 = [['abc',['123',222]]];
			
//			for(var i=0;i<arr.length;i++){
//				console.log(i);
//			}
			var arr1 = ['昌平','朝阳','海淀','浦东','浦西','松江','徐家汇','三亚湾','凤凰'];
			//arr1[0][0];//昌平
			//arr1[1][1];//浦西
			//arr1[1][2];//松江
//			二维数组的遍历
			for(var j=0;j<arr1.length;j++){
//				
				for(var k=0;k<arr1[j].length;k++){
					console.log(arr1[k]);
				}
			}
			
		</script>
	</body>
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
</html>
